#!/bin/sh

rc=$1
svn_root_dir=/home/Lee/net-sms-2way

mkdir $svn_root_dir/branches/$rc
cd $svn_root_dir/branches

svn add $rc
svn commit -m "Added $rc" $rc

svn cp https://net-sms-2way.googlecode.com/svn/trunk/Net-SMS-2Way/ https://net-sms-2way.googlecode.com/svn/branches/$rc --username engel.lee.1 -m "Copying trunk to $rc"

cd $svn_root_dir/branches/$rc

svn update
